package com.me.modules.questionnaire.service;

import com.me.modules.questionnaire.entity.QuQuestionEntity;

import java.util.List;
import java.util.Map;

/**
 * 题目表
 *
 * @author me
 * @email me@163.com
 * @date 2019-01-21 14:01:45
 */
public interface QuQuestionService {

	QuQuestionEntity queryObject(Integer id);

	List<QuQuestionEntity> queryList(Map<String, Object> map);

    List<QuQuestionEntity> queryListByBean(QuQuestionEntity entity);

	int queryTotal(Map<String, Object> map);

	int save(QuQuestionEntity quQuestion);

	int update(QuQuestionEntity quQuestion);

	int delete(Integer id);

	int deleteBatch(Integer[] ids);

	List<QuQuestionEntity> getQuestions(Integer belongId);
}
